package com.gf.forcesystem.controller;

import com.gf.forcesystem.dao.entity.CombatUnit;
import com.gf.forcesystem.dao.mapper.CombatUnitMapper;
import com.gf.forcesystem.dao.service.CombatUnitService;
import com.gf.forcesystem.dao.service.impl.CombatUnitServiceImpl;
import com.gf.framework.mysql.controller.MysqlCrudController;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author gaofei
 * @date 2022/6/19 19:40
 */
@RestController
@Api(tags = "兵力单位管理")
@RequestMapping("combatunit")
public class CombatUnitController extends MysqlCrudController<CombatUnit, CombatUnitMapper, CombatUnitServiceImpl> {
    @Override
    protected boolean autoId() {
        return true;
    }
}
